package com.hb.drawpoint;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import com.map.core.MapView;

public class MainActivity extends AppCompatActivity {
    private MapView mapView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        getSupportActionBar().hide();
        mapView=new MapView(this);
        setContentView(mapView);
        mapView.drawPoints();
    }

    @Override
    protected void onPause() {
        super.onPause();

        if(mapView!=null){
            mapView.onPause();
        }
    }

    @Override
    protected void onResume() {
        super.onResume();

        if(mapView!=null){
            mapView.onResume();
        }
    }
}
